#include "mainwindow.h"
#include <QApplication>
#include <QTranslator>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setApplicationDisplayName(QApplication::tr("DICOM Print Station"));
    a.setOrganizationName("Angell Medical Instrument Ltd.");
    a.setOrganizationDomain("www.angell-med.com");
    a.setApplicationVersion("6.2.0");
    a.setWindowIcon(QIcon(":/window.ico"));

    QTranslator t;
    t.load("DicomPrintStation_cn.qm");
    a.installTranslator(&t);

    MainWindow w;
    w.show();

    return a.exec();
}
